package day1118;

public class Demo3 {
    public static void main(String[] args) {
        int x=3;
        x+=5;   //让x  增加  5
        System.out.println(x);//8

        int  y=3;
        y-=5;
        System.out.println(y);//-2

        int z=9;
        z  %=  5 ;     //让z等于  z取余5， //让z 和   5  余数 ，结果赋值给z
        z  =   z%5 ;
        System.out.println(z);//4


        /*byte b1=1;
        b1+=1;

        b1=b1+1;*/

        System.out.println( ~63);

        System.out.println( Integer.toBinaryString(984) );
        System.out.println( Integer.toBinaryString(123) );
        System.out.println( Integer.toBinaryString(88) );

        System.out.println(984 & 123);
        System.out.println(984 |  123);
        System.out.println( Integer.toBinaryString(1019) );


        System.out.println(6<<2);
        System.out.println( Integer.toBinaryString(24) );
    }
}
